home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / program / swaga_c.zip / ANSI.SWG / 0013_Displaying THEDRAW Images.pas < prev    next >
Pascal/Delphi Source File  |  1993-05-28  |  746b  |  19 lines

  1. {▐ Oh, about the thedraw screens, here's
  2. ▐ a bit of code in which you can load up a File saved as O)bject, P)ascal.
  3. ▐ Oh this is saved as Uncrunched not Crunched.
  4. ▐ {$L,TESTFile.OBJ}  {This is the File you saved in thedraw as a Object}
  5.                     {It is linked directly into the code at Compile time}
  6.  
  7.  Procedure ImageData; external;   {The imagedata Procedure you can}
  8.                                   {define the name of this Procedure}
  9.                                   {when you save the File in TheDraw}
  10.  begin
  11.      Move (Pointer(@ImageData)^,ptr($B800,0)^,5000);
  12.      Readln;
  13.  end.
  14.  
  15. {By using the Move instruction, the placement of the image
  16. is restricted to full screens or essentially 80 Character lines.
  17. }
  18.